From da9b19804dcae5e7b5a9177b7304c921cb074aad Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sun, 26 Mar 2023 00:43:58 +0100 Subject: [PATCH] popover: Fix typo The typo causs gnome-shell to crah, which is somewhat suboptimal. It was introduced in 1a9c7a4b1fb. --- gtk/gtkpopover.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkpopover.c b/gtk/gtkpopover.c index ff2e12cd87..9aafd1e698 100644 --- a/gtk/gtkpopover.c +++ b/gtk/gtkpopover.c @@ -468,7 +468,7 @@ compute_surface_pointing_to (GtkPopover *popover, rect->x = (int) floor (bounds.origin.x + nx); rect->y = (int) floor (bounds.origin.y + ny); rect->width = (int) ceilf (bounds.size.width); - rect->width = (int) ceilf (bounds.size.height); + rect->height = (int) ceilf (bounds.size.height); } static GdkPopupLayout * -- 2.30.2